package com.anfeng.cms.domain.emp;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴朋
 * @since 2019-07-15
 */
@TableName("af_face_info")
public class AfFaceInfo extends Model<AfFaceInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * face  id 
     */
	private String id;
    /**
     * 员工id
     */
	@TableField("emp_id")
	private String empId;
    /**
     * 员工姓名
     */
	@TableField("emp_name")
	private String empName;
    /**
     * 部门id
     */
	@TableField("dept_id")
	private String deptId;
    /**
     * 部门名
     */
	@TableField("dept_name")
	private String deptName;
    /**
     * 员工编号
     */
	@TableField("emp_no")
	private String empNo;
    /**
     * 手机号
     */
	private String mobile;
    /**
     * 证件号
     */
	@TableField("identity_no")
	private String identityNo;
    /**
     * 在职状态
     */
	private Integer status;

	/**
	 * 图片id
	 */
	@TableField("photo_id")
	private String photoId;

    /**
     * 数据状态（1 正常 2 逻辑删除）
     */
	private Integer state;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 更新时间
     */
	@TableField("modified_time")
	private Date modifiedTime;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getEmpId() {
		return empId;
	}

	public void setEmpId(String empId) {
		this.empId = empId;
	}

	public String getEmpName() {
		return empName;
	}

	public void setEmpName(String empName) {
		this.empName = empName;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getEmpNo() {
		return empNo;
	}

	public void setEmpNo(String empNo) {
		this.empNo = empNo;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getIdentityNo() {
		return identityNo;
	}

	public void setIdentityNo(String identityNo) {
		this.identityNo = identityNo;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getPhotoId() {
		return photoId;
	}

	public void setPhotoId(String photoId) {
		this.photoId = photoId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifiedTime() {
		return modifiedTime;
	}

	public void setModifiedTime(Date modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("AfFaceInfo{");
		sb.append("id='").append(id).append('\'');
		sb.append(", empId='").append(empId).append('\'');
		sb.append(", empName='").append(empName).append('\'');
		sb.append(", deptId='").append(deptId).append('\'');
		sb.append(", deptName='").append(deptName).append('\'');
		sb.append(", empNo='").append(empNo).append('\'');
		sb.append(", mobile='").append(mobile).append('\'');
		sb.append(", identityNo='").append(identityNo).append('\'');
		sb.append(", status=").append(status);
		sb.append(", photoId='").append(photoId).append('\'');
		sb.append(", state=").append(state);
		sb.append(", createTime=").append(createTime);
		sb.append(", modifiedTime=").append(modifiedTime);
		sb.append('}');
		return sb.toString();
	}
}
